/**
 * 默认加载
 * @type {{init: Window.process.init, public: Window.process.public}}
 */
window.process = {
    init: function () {
        this.public();
    },
    public: function () {
        //tab切换
        $('.tabBar li').click(function () {
            $(this).addClass('on').siblings().removeClass('on');
        });

        //选中内容
        $('.tabList li').click(function () {
            var address=$('.tabBar li.on').text();
            var region = address+''+$(this).text();
            window.location.href = 'index.html?region=' + region;
        });
    }

};

/**
 * 启动方法执行
 */
process.init();



